package com.my.study.springframework.test;

import com.my.study.springframework.context.ApplicationEvent;

/**
 * 订单事件
 *
 * @author: yidujun
 * @create: 2021/07/13 10:03
 */
@SuppressWarnings("serial")
public class OrderEvent extends ApplicationEvent {

    /**
     * Constructs a prototypical Event.
     *
     * @param source The object on which the Event initially occurred.
     * @throws IllegalArgumentException if source is null.
     */
    public OrderEvent(Object source) {
        super(source);
    }

    @Override
    public String toString() {
        return "OrderEvent{" +
                "source=" + source +
                '}';
    }
}
